<template>
  <div>
    <HeaderIndex title="影视快讯" />
    <van-divider>最新</van-divider>
    <InfoMain v-for="v in $store.state.infomation.infoArr" :data="v" :key="v.contentId" />
  </div>
</template>

<script>
import InfoMain from '@/components/whs/infomation-main.vue';
export default {
  components: {
    InfoMain,
  },
  created() {
    this.$store.dispatch('infoArr');
  },
};
</script>

<style lang="less" scoped>
.van-divider {
  font-weight: 900;
  color: #333;
  margin: 0.5rem 0;
  font-size: 0.5rem;
}
</style>
